Accelerated Materials Discovery by Phil De Luna

Accelerated Materials Discovery by Phil De Luna

Author:Phil De Luna
Language: eng
Format: epub
Publisher: De Gruyter
Published: 2021-11-01T06:28:16.799000+00:00


import numpy as np import matplotlib.pyplot as plt import random as random X = np.linspace(-2,10,100) # Generate an evenly-spaced domain N = 1000 # Number of fake spectra to generate all_spectra = [] # Set up list of spectra to populate A = np.random.uniform(0,1,N) B = np.random.uniform(-.5,.5,N) C = np.random.uniform(1,5,N) D = np.random.uniform(1,5,N) E = np.random.uniform(4,8,N) F = np.random.uniform(1,2,N) spectra = [] for n in range(10000): Y = toy_spectra(X,A[i],B[i],C[i],D[i],E[i],F[i]) spectra.append(Y) for y in spectra[:10]: plt.plot(X,y)



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.